#230E32#230E32

#230E32 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.6% C 0.070 H 308.5°. Best body text is #FFFFFF at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#230E32
RGBrgb(35, 14, 50)
HSLhsl(275, 56%, 13%)
HSVhsv(275, 72%, 20%)
CMYKcmyk(30%, 72%, 0%, 80.4%)
CIE-LABlab(8.14, 19.24, -19.55)
CIE-LCHlch(8.14, 27.43, 314.55°)
OKLaboklab(21.64% 0.0439 -0.0551)
OKLCHoklch(21.64% 0.07 308.5)
XYZxyz(1.4258, 0.9017, 3.1159)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230E32 #1D320E
analogous
#110E32 #230E32 #320E2F
triadic
#230E32 #32230E #0E3223
tetradic
#230E32 #32110E #1D320E #0E2F32
square
#230E32 #32110E #1D320E #0E2F32
split-complementary
#230E32 #2F320E #0E3211
monochromatic
#110718 #110718 #230E32 #441B62 #662992

Accessibility & contrast

On white

17.79
#230E32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230E32
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230E32#FFFFFF#000000##FFFFFF
##230E321.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021733
Deuteranopia (green-blind)
#091831
Tritanopia (blue-blind)
#21151E
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #230e32;
/* rgb */ color: rgb(35, 14, 50);
/* oklch */ color: oklch(21.6% 0.070 308.5);
Tailwind
colors: {
  custom: {
    50: '#5f4d6a',
    500: '#230e32',
    950: '#000000',
  },
}
SCSS
$custom: #230e32;
$custom-light: #5f4d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#230e32",
  "rgb": {
    "r": 35,
    "g": 14,
    "b": 50
  },
  "hsl": {
    "h": 275,
    "s": 56.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.21639,
    "c": 0.07044,
    "h": 308.5
  },
  "luminance": 0.00902
}

Semantic roles & 50–950 ramp

primary
#230E32
secondary
#496D2F
accent
#E04887
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #230E32

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

Preview Lab → · Contrast checker → · Palette generator →

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