#230D37#230D37

#230D37 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.9% C 0.079 H 304.7°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#230D37
RGBrgb(35, 13, 55)
HSLhsl(271, 62%, 13%)
HSVhsv(271, 76%, 22%)
CMYKcmyk(36.4%, 76.4%, 0%, 78.4%)
CIE-LABlab(8.32, 21.34, -22.92)
CIE-LCHlch(8.32, 31.32, 312.96°)
OKLaboklab(21.89% 0.0451 -0.065)
OKLCHoklch(21.89% 0.079 304.7)
XYZxyz(1.5265, 0.9210, 3.7110)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230D37 #21370D
analogous
#0E0D37 #230D37 #370D36
triadic
#230D37 #37230D #0D3723
tetradic
#230D37 #370E0D #21370D #0D3637
square
#230D37 #370E0D #21370D #0D3637
split-complementary
#230D37 #36370D #0D370E
monochromatic
#100619 #100619 #230D37 #421968 #62249A

Accessibility & contrast

On white

17.73
#230D37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#230D37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230D37
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230D37#FFFFFF#000000##FFFFFF
##230D371.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001838
Deuteranopia (green-blind)
#031836
Tritanopia (blue-blind)
#1F1620
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #230d37;
/* rgb */ color: rgb(35, 13, 55);
/* oklch */ color: oklch(21.9% 0.079 304.7);
Tailwind
colors: {
  custom: {
    50: '#604d6e',
    500: '#230d37',
    950: '#000000',
  },
}
SCSS
$custom: #230d37;
$custom-light: #604d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#230d37",
  "rgb": {
    "r": 35,
    "g": 13,
    "b": 55
  },
  "hsl": {
    "h": 271.429,
    "s": 61.765,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21892,
    "c": 0.0791,
    "h": 304.7
  },
  "luminance": 0.00921
}

Semantic roles & 50–950 ramp

primary
#230D37
secondary
#4E722D
accent
#E54390
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #230D37

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

Preview Lab → · Contrast checker → · Palette generator →

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