#230D4C#230D4C

#230D4C is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.9% C 0.107 H 292.2°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#230D4C
RGBrgb(35, 13, 76)
HSLhsl(261, 71%, 17%)
HSVhsv(261, 83%, 30%)
CMYKcmyk(53.9%, 82.9%, 0%, 70.2%)
CIE-LABlab(10.31, 27.80, -34.56)
CIE-LCHlch(10.31, 44.36, 308.82°)
OKLaboklab(23.93% 0.0405 -0.0992)
OKLCHoklch(23.93% 0.107 292.2)
XYZxyz(2.1412, 1.1669, 6.9485)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230D4C #364C0D
analogous
#0D174C #230D4C #420D4C
triadic
#230D4C #4C230D #0D4C23
tetradic
#230D4C #4C0D17 #364C0D #0D4C42
square
#230D4C #4C0D17 #364C0D #0D4C42
split-complementary
#230D4C #4C420D #174C0D
monochromatic
#0C041A #0C041A #230D4C #3B1680 #531FB5

Accessibility & contrast

On white

17.03
#230D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#230D4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230D4C
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230D4C#FFFFFF#000000##FFFFFF
##230D4C1.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4E
Deuteranopia (green-blind)
#001B4B
Tritanopia (blue-blind)
#161E2C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #230d4c;
/* rgb */ color: rgb(35, 13, 76);
/* oklch */ color: oklch(23.9% 0.107 292.2);
Tailwind
colors: {
  custom: {
    50: '#634e7f',
    500: '#230d4c',
    950: '#000000',
  },
}
SCSS
$custom: #230d4c;
$custom-light: #634e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#230d4c",
  "rgb": {
    "r": 35,
    "g": 13,
    "b": 76
  },
  "hsl": {
    "h": 260.952,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.23931,
    "c": 0.10713,
    "h": 292.2
  },
  "luminance": 0.01167
}

Semantic roles & 50–950 ramp

primary
#230D4C
secondary
#68872E
accent
#EE3AAF
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #230D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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