#230F52#230F52

#230F52 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.113 H 289.1°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#230F52
RGBrgb(35, 15, 82)
HSLhsl(258, 69%, 19%)
HSVhsv(258, 82%, 32%)
CMYKcmyk(57.3%, 81.7%, 0%, 67.8%)
CIE-LABlab(11.33, 28.60, -37.02)
CIE-LCHlch(11.33, 46.78, 307.69°)
OKLaboklab(24.84% 0.0368 -0.1064)
OKLCHoklch(24.84% 0.113 289.1)
XYZxyz(2.3865, 1.3081, 8.1077)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F52 #3E520F
analogous
#0F1D52 #230F52 #450F52
triadic
#230F52 #52230F #0F5223
tetradic
#230F52 #520F1D #3E520F #0F5245
square
#230F52 #520F1D #3E520F #0F5245
split-complementary
#230F52 #52450F #1D520F
monochromatic
#0B051A #0D061E #230F52 #391886 #4F22B9

Accessibility & contrast

On white

16.65
#230F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#230F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230F52
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F52#FFFFFF#000000##FFFFFF
##230F521.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F54
Deuteranopia (green-blind)
#001C51
Tritanopia (blue-blind)
#112130
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #230f52;
/* rgb */ color: rgb(35, 15, 82);
/* oklch */ color: oklch(24.8% 0.113 289.1);
Tailwind
colors: {
  custom: {
    50: '#645083',
    500: '#230f52',
    950: '#000000',
  },
}
SCSS
$custom: #230f52;
$custom-light: #645083;
$custom-dark: #000000;
JSON
{
  "hex": "#230f52",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 82
  },
  "hsl": {
    "h": 257.91,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24842,
    "c": 0.1126,
    "h": 289.1
  },
  "luminance": 0.01308
}

Semantic roles & 50–950 ramp

primary
#230F52
secondary
#718C31
accent
#EC3CB7
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #230F52

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

Preview Lab → · Contrast checker → · Palette generator →

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