#230D4A#230D4A

#230D4A is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.7% C 0.105 H 293.1°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#230D4A
RGBrgb(35, 13, 74)
HSLhsl(262, 70%, 17%)
HSVhsv(262, 82%, 29%)
CMYKcmyk(52.7%, 82.4%, 0%, 71%)
CIE-LABlab(10.10, 27.18, -33.51)
CIE-LCHlch(10.10, 43.15, 309.04°)
OKLaboklab(23.72% 0.0411 -0.0961)
OKLCHoklch(23.72% 0.105 293.1)
XYZxyz(2.0727, 1.1395, 6.5880)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230D4A #344A0D
analogous
#0D164A #230D4A #420D4A
triadic
#230D4A #4A230D #0D4A23
tetradic
#230D4A #4A0D16 #344A0D #0D4A42
square
#230D4A #4A0D16 #344A0D #0D4A42
split-complementary
#230D4A #4A420D #164A0D
monochromatic
#0C051A #0C051A #230D4A #3C167E #541FB2

Accessibility & contrast

On white

17.10
#230D4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230D4A
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230D4A#FFFFFF#000000##FFFFFF
##230D4A1.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4C
Deuteranopia (green-blind)
#001B49
Tritanopia (blue-blind)
#171D2B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #230d4a;
/* rgb */ color: rgb(35, 13, 74);
/* oklch */ color: oklch(23.7% 0.105 293.1);
Tailwind
colors: {
  custom: {
    50: '#634e7d',
    500: '#230d4a',
    950: '#000000',
  },
}
SCSS
$custom: #230d4a;
$custom-light: #634e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#230d4a",
  "rgb": {
    "r": 35,
    "g": 13,
    "b": 74
  },
  "hsl": {
    "h": 261.639,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.23722,
    "c": 0.10452,
    "h": 293.1
  },
  "luminance": 0.0114
}

Semantic roles & 50–950 ramp

primary
#230D4A
secondary
#66852E
accent
#ED3BAD
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #230D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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