#230F33#230F33

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

Color values

HEX#230F33
RGBrgb(35, 15, 51)
HSLhsl(273, 55%, 13%)
HSVhsv(273, 71%, 20%)
CMYKcmyk(31.4%, 70.6%, 0%, 80%)
CIE-LABlab(8.46, 18.88, -19.77)
CIE-LCHlch(8.46, 27.34, 313.69°)
OKLaboklab(21.9% 0.0423 -0.0557)
OKLCHoklch(21.9% 0.07 307.2)
XYZxyz(1.4614, 0.9380, 3.2354)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F33 #1F330F
analogous
#110F33 #230F33 #330F31
triadic
#230F33 #33230F #0F3323
tetradic
#230F33 #33110F #1F330F #0F3133
square
#230F33 #33110F #1F330F #0F3133
split-complementary
#230F33 #31330F #0F3311
monochromatic
#100718 #100718 #230F33 #431D62 #642B92

Accessibility & contrast

On white

17.68
#230F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#230F33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230F33
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F33#FFFFFF#000000##FFFFFF
##230F331.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031834
Deuteranopia (green-blind)
#091932
Tritanopia (blue-blind)
#20161F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #230f33;
/* rgb */ color: rgb(35, 15, 51);
/* oklch */ color: oklch(21.9% 0.070 307.2);
Tailwind
colors: {
  custom: {
    50: '#5f4e6b',
    500: '#230f33',
    950: '#000000',
  },
}
SCSS
$custom: #230f33;
$custom-light: #5f4e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#230f33",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 51
  },
  "hsl": {
    "h": 273.333,
    "s": 54.545,
    "l": 12.941
  },
  "oklch": {
    "l": 0.21896,
    "c": 0.06998,
    "h": 307.2
  },
  "luminance": 0.00938
}

Semantic roles & 50–950 ramp

primary
#230F33
secondary
#4C6D31
accent
#DE4A8C
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #230F33

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

Preview Lab → · Contrast checker → · Palette generator →

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