#230D4E#230D4E

#230D4E is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.110 H 291.3°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#230D4E
RGBrgb(35, 13, 78)
HSLhsl(260, 71%, 18%)
HSVhsv(260, 83%, 31%)
CMYKcmyk(55.1%, 83.3%, 0%, 69.4%)
CIE-LABlab(10.52, 28.43, -35.60)
CIE-LCHlch(10.52, 45.56, 308.62°)
OKLaboklab(24.14% 0.0399 -0.1022)
OKLCHoklch(24.14% 0.11 291.3)
XYZxyz(2.2118, 1.1951, 7.3204)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230D4E #384E0D
analogous
#0D174E #230D4E #430D4E
triadic
#230D4E #4E230D #0D4E23
tetradic
#230D4E #4E0D17 #384E0D #0D4E43
square
#230D4E #4E0D17 #384E0D #0D4E43
split-complementary
#230D4E #4E430D #174E0D
monochromatic
#0C041A #0C041A #230D4E #3B1682 #521EB7

Accessibility & contrast

On white

16.95
#230D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#230D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230D4E
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230D4E#FFFFFF#000000##FFFFFF
##230D4E1.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E50
Deuteranopia (green-blind)
#001B4D
Tritanopia (blue-blind)
#141F2D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #230d4e;
/* rgb */ color: rgb(35, 13, 78);
/* oklch */ color: oklch(24.1% 0.110 291.3);
Tailwind
colors: {
  custom: {
    50: '#644e80',
    500: '#230d4e',
    950: '#000000',
  },
}
SCSS
$custom: #230d4e;
$custom-light: #644e80;
$custom-dark: #000000;
JSON
{
  "hex": "#230d4e",
  "rgb": {
    "r": 35,
    "g": 13,
    "b": 78
  },
  "hsl": {
    "h": 260.308,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24144,
    "c": 0.10973,
    "h": 291.3
  },
  "luminance": 0.01195
}

Semantic roles & 50–950 ramp

primary
#230D4E
secondary
#6A892E
accent
#EE3AB1
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #230D4E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#230D4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva