#230F32#230F32

#230F32 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.8% C 0.069 H 308.1°. Best body text is #FFFFFF at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#230F32
RGBrgb(35, 15, 50)
HSLhsl(274, 54%, 13%)
HSVhsv(274, 70%, 20%)
CMYKcmyk(30%, 70%, 0%, 80.4%)
CIE-LABlab(8.39, 18.59, -19.16)
CIE-LCHlch(8.39, 26.69, 314.14°)
OKLaboklab(21.82% 0.0423 -0.054)
OKLCHoklch(21.82% 0.069 308.1)
XYZxyz(1.4396, 0.9293, 3.1205)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F32 #1E320F
analogous
#120F32 #230F32 #320F2F
triadic
#230F32 #32230F #0F3223
tetradic
#230F32 #32120F #1E320F #0F2F32
square
#230F32 #32120F #1E320F #0F2F32
split-complementary
#230F32 #2F320F #0F3212
monochromatic
#100718 #100718 #230F32 #441D61 #652B90

Accessibility & contrast

On white

17.71
#230F32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230F32
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F32#FFFFFF#000000##FFFFFF
##230F321.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031733
Deuteranopia (green-blind)
#0A1931
Tritanopia (blue-blind)
#21161E
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #230f32;
/* rgb */ color: rgb(35, 15, 50);
/* oklch */ color: oklch(21.8% 0.069 308.1);
Tailwind
colors: {
  custom: {
    50: '#5f4e6a',
    500: '#230f32',
    950: '#000000',
  },
}
SCSS
$custom: #230f32;
$custom-light: #5f4e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#230f32",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 50
  },
  "hsl": {
    "h": 274.286,
    "s": 53.846,
    "l": 12.745
  },
  "oklch": {
    "l": 0.21816,
    "c": 0.06856,
    "h": 308.1
  },
  "luminance": 0.00929
}

Semantic roles & 50–950 ramp

primary
#230F32
secondary
#4A6C31
accent
#DD4B89
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #230F32

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

Preview Lab → · Contrast checker → · Palette generator →

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